package com.bicon.botu.mall.order.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.bicon.botu.mall.order.dto.OrderItemDto;
import com.bicon.botu.mall.order.entity.OrderItem;

import java.util.List;
import java.util.Map;

/**
 * 订单子项mapper
 *
 * @auther 裴志鹏
 * @date 2017/7/20 16:06
 */
public interface OrderItemMapper extends BaseMapper<OrderItem> {

    /**
     * 根据订单id查询商品详情
     *
     * @param map
     * @return
     */
    List<OrderItemDto> findOrderItemByOrderId(Map<String, Object> map);
}
